package org.cnbi.web.controller;

import java.util.ArrayList;
import java.util.List;

import javax.servlet.http.HttpServletResponse;

import org.cnbi.entity.Dashboard;
import org.cnbi.entity.Menu;
import org.cnbi.service.IHandleService;
import org.cnbi.utils.chart.ChartParamter;
import org.cnbi.utils.chart.json.JsonSeriesChart;
import org.cnbi.utils.tools.ActionConstants;
import org.cnbi.utils.tools.MenuConstants;
import org.cnbi.web.controller.base.BaseController;
import org.cnbi.web.view.xml.ChartUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.support.RedirectAttributes;

/**
 * 系统请求页面的核心控制器 凡是是请求页面的动作，都到这里来写吧！ 
 * Copyright © 2014中国经邦. All rights reserved.
 * @author 龚佳新
 * @date 2014年4月17日下午12:47:04
 * @cnbi-web
 */
@Controller
@RequestMapping("/default")
public class DefaultController extends BaseController {
	@Autowired
	private IHandleService handleService;
	
	@RequestMapping(value = "/index")
	public ModelAndView main(HttpServletResponse response) {
		ModelAndView view = firstNavHandle(MenuConstants.DEFALUT,response);
		index(view);
		return view;
	}
	private void index(ModelAndView view) {}
}
